Profile    Mohammed Shiroz Status   Loading  
Logo
Share This

My api design
blog and Updates

It's my personal blog and my post about what was my interested in. Not regularly. If you have any questions any discussion, I'm happy you get in touch with me, and try to answer as many as possible!

Blog
Let's See
Back to blog
Filter by:
Tags
//Article

Clean Error Handling in Laravel APIs: One Format, No Leaked Stack Traces

Clean Error Handling in Laravel APIs: One Format, No Leaked Stack Traces

Blog Summary

Your API's happy path is tidy. Its errors are a mix of HTML pages, stack traces and five different JSON shapes. Here's how to give every Laravel 12 API error one predictable format, from bootstrap/app.php.

Read more
  • 11
  • 27
  • 4

API Versioning Strategies That Won't Trap You Later

API Versioning Strategies That Won't Trap You Later

Blog Summary

Shipping v2 of an API is easy. Getting the last v1 client to leave is the hard part. URL vs header versioning, what counts as a breaking change, and how to deprecate without breaking the mobile app nobody updated.

Read more
  • 67
  • 62
  • 5

One API, Three Apps: Keeping a Mobile App and a Web Portal in Sync

22 Mar 2026Category : Blog
One API, Three Apps: Keeping a Mobile App and a Web Portal in Sync

Blog Summary

A web deploy reaches everyone in minutes. A mobile release reaches people whenever they decide to update. What building Kate PMS taught me about versioned APIs, backwards compatibility, forced updates and shared validation.

Read more
  • 35
  • 117
  • 13

Pagination Done Right: Offset vs Cursor, and Why Page 40,000 Is So Slow

Pagination Done Right: Offset vs Cursor, and Why Page 40,000 Is So Slow

Blog Summary

Page 1 is instant, page 40,000 takes forever, and infinite scroll shows duplicates. Here's how OFFSET really works, why cursor pagination stays fast, and when to use paginate, simplePaginate or cursorPaginate in Laravel.

Read more
  • 58
  • 133
  • 11

API Design Mistakes I See Over and Over (and How to Fix Each One)

API Design Mistakes I See Over and Over (and How to Fix Each One)

Blog Summary

An API is a promise that mobile apps freeze in place. Six mistakes that keep showing up, from 200 OK errors to leaking your database schema, with why each one hurts and the fix.

Read more
  • 82
  • 127
  • 7

REST vs GraphQL: An Honest Comparison From a Laravel Developer

REST vs GraphQL: An Honest Comparison From a Laravel Developer

Blog Summary

GraphQL fixes over-fetching and under-fetching, then hands you caching headaches and N+1 queries in resolvers. Here's an honest look at both, from someone who ships Laravel APIs, and when plain REST is enough.

Read more
  • 146
  • 45
  • 24

01. About Shiroz

Mohammed Shiroz

Hi, I'm Mohammed Shiroz, a software engineer and AI enthusiast from Sri Lanka who turns ideas into intelligent, real-world solutions. With over 9 years of hands-on experience, I currently lead real estate ERP development at Kate Group, a...

03.My Projects

04. Categories

Ready To Start Your Project ?

Get in Touch
Close